package com.yiyi.credit.manage.sso.model.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;


@Table(name = "sys_role_resource")
public class SysRoleResource extends BaseEntity {

    @Id
    @Column(name = "id")
    private Long id;

    @Column(name = "sys_info_id")
    private Long sysInfoId;

    @Column(name = "sys_role_id")
    private Long sysRoleId;

    @Column(name = "sys_resource_id")
    private Long sysResourceId;

    @Column(name = "pid")
    private Long pid;

    @Column(name = "type")
    private String type;

    @Column(name = "resource_columns")
    private String resourceColumns;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSysInfoId() {
        return sysInfoId;
    }

    public void setSysInfoId(Long sysInfoId) {
        this.sysInfoId = sysInfoId;
    }

    public Long getSysRoleId() {
        return sysRoleId;
    }

    public void setSysRoleId(Long sysRoleId) {
        this.sysRoleId = sysRoleId;
    }

    public Long getSysResourceId() {
        return sysResourceId;
    }

    public void setSysResourceId(Long sysResourceId) {
        this.sysResourceId = sysResourceId;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getResourceColumns() {
        return resourceColumns;
    }

    public void setResourceColumns(String resourceColumns) {
        this.resourceColumns = resourceColumns;
    }
}
